<template>
  <div>
    <div class="banner">
      <img class="banner-img" src="http://img1.qunarzz.com/sight/p0/1708/d6/d6f00849ce9c0eaea3.img.jpg_600x330_5a9c1372.jpg" alt="">
      <router-link to="/">
        <span class="back">
          <i class="iconfont">&#xe668;</i>
        </span>
      </router-link>
      <div class="title">
        <div class="pic"><i class="iconfont">&#xe600;</i><span>10</span></div>
        <div>
          <span>禅宗少林大典</span>
          <span>视频</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'DetailBanner'
}
</script>

<style lang="stylus" scoped>
  .banner
    width 100%
    position relative
    .banner-img
      width 100%
    .back
      position absolute
      left .1rem
      top .1rem
      width .72rem
      height .72rem
      border-radius .5rem
      background rgba(0,0,0,.5)
      text-align center
      line-height .72rem
      .iconfont
        font-size .32rem
        color white
    .title
      position: absolute;
      bottom: 0px;
      background: -webkit-linear-gradient(#fffdfd00, #00000080);
      width: 100%;
      font-size: .36rem;
      color: #fff;
      height: 1.2rem;
      span
        padding-left: .3rem;
      .pic
        width: 1.2rem;
        height: 0.4rem;
        background: rgba(0,0,0,0.5);
        border-radius: 0.5rem;
        line-height: 0.4rem;
        text-align: center;
        font-size: 0.24rem;
        margin-left: .3rem;
        margin-bottom: .15rem;
        .iconfont
          font-size .24rem
        span
          padding-left .1rem
</style>
